package com.zd.core.dao.service;

import org.springframework.beans.BeansException;
import org.springframework.beans.factory.config.BeanPostProcessor;
import org.springframework.core.PriorityOrdered;

//http://blog.csdn.net/inthirties/archive/2009/08/28/4493961.aspx
//http://www.fengfly.com/plus/view-191037-1.html
//@Component
public class EntityBuilderAnnotationBeanProcessor implements BeanPostProcessor, PriorityOrdered {

	/**
	 * 初始化bean后
	 */
	@Override
	public Object postProcessAfterInitialization(Object bean, String beanName)
			throws BeansException {
		// TODO Auto-generated method stub
		return new Object();
	}

	/**
	 * 初始化bean前
	 */
	@Override
	public Object postProcessBeforeInitialization(Object bean, String beanName)
			throws BeansException {
		// TODO Auto-generated method stub
		return new Object();
	}

	@Override
	public int getOrder() {
		return 0;
	}

}
